- checklist = node['$option?']('checklist') ? "checklist": null;
if checklist
  if node.document.$attr("icons") == "font"
    - marker_checked = '<i class="icon-check"></i>'
    - marker_unchecked = '<i class="icon-check-empty"></i>'
  else
    - marker_checked = '&#8864;'
    - marker_unchecked = '&#9723;'
div.ulist(id=id,class=[checklist, node.$style(), node.$role()])
  if node['$title?']()
    div.title !{node.$title()}
  ul(class=[checklist || node.$style()])
    each item in node.$items()
      li(class=[node['$option?']('step') ? "slide" : ""])
        if item['$blocks?']()
          p
            if checklist && item.$attr('checkbox', false)
              !{item.$attr('checked') ? marker_checked : marker_unchecked}!{item.$text()}
            else
              !{item.$text()}
          !{item.$content()}
        else
          if checklist && item.$attr('checkbox', false)
            !{item.$attr('checked') ? marker_checked : marker_unchecked}!{item.$text()}
          else
            !{item.$text()}